package chiss.org.draft.ihs;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for HealthStatistics.Address complex type.
 *
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 *
 * <pre>
 * &lt;complexType name="HealthStatistics.Address">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="country" type="{urn:org.chiss:draft:ihs}string" minOccurs="0"/>
 *         &lt;element name="state" type="{urn:org.chiss:draft:ihs}string" minOccurs="0"/>
 *         &lt;element name="city" type="{urn:org.chiss:draft:ihs}string" minOccurs="0"/>
 *         &lt;element name="district" type="{urn:org.chiss:draft:ihs}string" minOccurs="0"/>
 *         &lt;element name="line" type="{urn:org.chiss:draft:ihs}string" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HealthStatistics.Address", propOrder = {"country", "state",
        "city", "district", "line"})
public class HealthStatisticsAddress {

    protected String country;
    protected String state;
    protected String city;
    protected String district;
    @XmlElement(nillable = true)
    protected List<String> line;

    /**
     * Gets the value of the country property.
     *
     * @return possible object is {@link String }
     */
    public String getCountry() {
        return country;
    }

    /**
     * Sets the value of the country property.
     *
     * @param value allowed object is {@link String }
     */
    public void setCountry(String value) {
        this.country = value;
    }

    /**
     * Gets the value of the state property.
     *
     * @return possible object is {@link String }
     */
    public String getState() {
        return state;
    }

    /**
     * Sets the value of the state property.
     *
     * @param value allowed object is {@link String }
     */
    public void setState(String value) {
        this.state = value;
    }

    /**
     * Gets the value of the city property.
     *
     * @return possible object is {@link String }
     */
    public String getCity() {
        return city;
    }

    /**
     * Sets the value of the city property.
     *
     * @param value allowed object is {@link String }
     */
    public void setCity(String value) {
        this.city = value;
    }

    /**
     * Gets the value of the district property.
     *
     * @return possible object is {@link String }
     */
    public String getDistrict() {
        return district;
    }

    /**
     * Sets the value of the district property.
     *
     * @param value allowed object is {@link String }
     */
    public void setDistrict(String value) {
        this.district = value;
    }

    /**
     * Gets the value of the line property.
     *
     * <p>
     * This accessor method returns a reference to the live list, not a
     * snapshot. Therefore any modification you make to the returned list will
     * be present inside the JAXB object. This is why there is not a
     * <CODE>set</CODE> method for the line property.
     *
     * <p>
     * For example, to add a new item, do as follows:
     *
     * <pre>
     * getLine().add(newItem);
     * </pre>
     *
     *
     * <p>
     * Objects of the following type(s) are allowed in the list {@link String }
     */
    public List<String> getLine() {
        if (line == null) {
            line = new ArrayList<String>();
        }
        return this.line;
    }

}
